<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/4/23
  Time: 10:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户信息</title>
</head>
<body>
<form action="userservlet?method=updateUserDetail" method="post"enctype="application/x-www-form-urlencoded">
    <table>
        <tr>
            <td>编号：</td>
            <td>
                <input type="text" name="id" value="${user.id}" readonly="readonly">
            </td>
        </tr>
        <tr>
            <td>用户名：</td>
            <td>
                <input type="text" name="username" value="${user.username}">
            </td>
        </tr>
        <tr>
            <td>（已加密）密码：</td>
            <td>
                <input type="text" name="password" value="${user.password}" readonly="readonly">
            </td>
        </tr>
        <tr>
            <td>邮箱：</td>
            <td>
                <input type="text" name="email" value="${user.email}">
            </td>
        </tr>
        <tr>
            <td>性别：</td>
            <td>
                <input type="checkbox" name="gender" value="${user.gender}" checked="checked">男
                <input type="checkbox" name="gender" value="${user.gender}">女
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="submit" value="保存">
                <input type="reset" value="重置">
            </td>
        </tr>
    </table>
</form>
</body>
</html>
